Optimal. Leaf size=36 \[ \frac{2 a \sin (c+d x) \sqrt{\sec (c+d x)}}{d \sqrt{a \cos (c+d x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.103033, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.08, Rules used = {4222, 2771} \[ \frac{2 a \sin (c+d x) \sqrt{\sec (c+d x)}}{d \sqrt{a \cos (c+d x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4222
Rule 2771
Rubi steps
\begin{align*} \int \sqrt{a+a \cos (c+d x)} \sec ^{\frac{3}{2}}(c+d x) \, dx &=\left (\sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)}\right ) \int \frac{\sqrt{a+a \cos (c+d x)}}{\cos ^{\frac{3}{2}}(c+d x)} \, dx\\ &=\frac{2 a \sqrt{\sec (c+d x)} \sin (c+d x)}{d \sqrt{a+a \cos (c+d x)}}\\ \end{align*}
Mathematica [A] time = 0.0633067, size = 39, normalized size = 1.08 \[ \frac{2 \tan \left (\frac{1}{2} (c+d x)\right ) \sqrt{\sec (c+d x)} \sqrt{a (\cos (c+d x)+1)}}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.455, size = 50, normalized size = 1.4 \begin{align*} -2\,{\frac{ \left ( -1+\cos \left ( dx+c \right ) \right ) \cos \left ( dx+c \right ) \left ( \left ( \cos \left ( dx+c \right ) \right ) ^{-1} \right ) ^{3/2}\sqrt{a \left ( 1+\cos \left ( dx+c \right ) \right ) }}{d\sin \left ( dx+c \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.61124, size = 132, normalized size = 3.67 \begin{align*} \frac{2 \,{\left (\frac{\sqrt{2} \sqrt{a} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac{\sqrt{2} \sqrt{a} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}}\right )}}{d{\left (\frac{\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac{3}{2}}{\left (-\frac{\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.56346, size = 112, normalized size = 3.11 \begin{align*} \frac{2 \, \sqrt{a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{{\left (d \cos \left (d x + c\right ) + d\right )} \sqrt{\cos \left (d x + c\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{a \cos \left (d x + c\right ) + a} \sec \left (d x + c\right )^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]